<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%-- <%
	String path = request.getContextPath();
	// 获得本项目的地址(例如: http://localhost:8080/MyApp/)赋值给basePath
	//变量 
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	// 将 "项目路径basePath" 放入pageContext中，待以后用EL表达式读出。 
	pageContext.setAttribute("basePath", basePath);
%> --%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%-- <base href=" <%=basePath%>"> --%>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>登录页面</title>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/login_css.css" >
<script type="text/javascript" src="${pageContext.request.contextPath}/javascript/login_js.js"></script>
</head>

<body>
	<center>
		<div style="margin-top: 150px;">
			<form action="${pageContext.request.contextPath}/Login" method="post">
				<table align="center" cellpadding="0" cellspacing="20">
					<tr>
						<td><div class="DL3">
								<font size="5">账号：</font>
							</div></td>
						<td><input type="text" name="loginId" value="456789" id="loginId" onblur="validateName()"
							class="a1"> <span id="span" style="width:200px;height:30px;"></span></td>
					</tr>

					<tr>
						<td><div class="DL3">密码：</div></td>
						<td><input type="password" name="password" value="123456"
							class="a1"></td>
					</tr>

					<tr height="70">
						<td><div class="DL3">验证码：</div></td>
						<td><input type="text" name="imagecode" size="29"
							placeholder="请填写验证码" style="width: 190px; display: inline;border-radius: 5px;"
							class="a3" onKeyUp="value=value.replace(/[^\w\.\/]/ig,'')">
							<img alt="验证码" id="imagecode"
							src="<%=request.getContextPath()%>/Captcha" title="看不清?换一张"
							style="width: 100px; position: relative; top: 8px; cursor: pointer;"
							onclick="this.src='<%=request.getContextPath()%>/Captcha?d='+Math.random();">
						</td>
					</tr>

					<tr>
						<td colspan="50" align="center"><input type="submit"
							name="smt_ok" value="登录" class="a2"> <input type="reset"
							name="rst_cancel" value="取消" class="a2"> <input
							type="button" name="bon_signin" value="注册" class="a2"
							onclick="location='Register.jsp'"></td>
					</tr>
				</table>
			</form>
		</div>
	</center>
</body>

</html>